package speed2010.matcher.semanticmatching.basics;

import java.util.ArrayList;

import speed2010.matcher.lematching.basics.LEAlignment;

import speed2010.matcher.gui.util.MatchingInfo;
import speed2010.matcher.semanticmatching.basics.Alignment;

public class SSMResult {
	
	//Log alignments
	private ArrayList<LEAlignment> slAlignments;	
	private ArrayList<Alignment> acoAlignments;
	
	//Important alignments
	private ArrayList<Alignment> semanticAlignments;
	private ArrayList<Alignment> finalAlignments;
	private double ssm;
	
	public ArrayList<Alignment> getFinalAlignments() {
		return finalAlignments;
	}
	public void setFinalAlignments(ArrayList<Alignment> finalAlignments) {
		this.finalAlignments = finalAlignments;
	}
	public ArrayList<Alignment> getSemanticAlignments() {
		return semanticAlignments;
	}
	public void setSemanticAlignments(ArrayList<Alignment> semanticAlignments) {
		this.semanticAlignments = semanticAlignments;
	}
	public double getSsm() {
		return ssm;
	}
	public void setSsm(double ssm) {
		this.ssm = ssm;
	}	
	public ArrayList<LEAlignment> getSlAlignments() {
		return slAlignments;
	}
	public void setSlAlignments(ArrayList<LEAlignment> slAlignments) {
		this.slAlignments = slAlignments;
	}
	public ArrayList<Alignment> getAcoAlignments() {
		return acoAlignments;
	}
	public void setAcoAlignments(ArrayList<Alignment> acoAlignments) {
		this.acoAlignments = acoAlignments;
	}
	
	public MatchingInfo getMatchingInfo()
	{
		MatchingInfo info = new MatchingInfo(semanticAlignments, finalAlignments, slAlignments, acoAlignments, null, ssm);
		
		return info;
	}
}
